import Vue from 'vue'
//优化elemen ui中组件的按需导入，用逗号隔开即可
import {
    Button,
    Form,
    formItem,
    Input,
    Message,
    container,
    header,
    main, 
    link, 
    upload, 
    progress, 
    menu, 
    MenuItem, 
    Carousel, 
    CarouselItem, 
    calendar,
    row,
    tabs,
    TabPane,
    RadioGroup,
    RadioButton,
    Dialog,
    Radio,
    select,
    option,
    image,
    col,
    card,
    pagination,
    aside,
    drawer,
    DatePicker,
    ButtonGroup,
    Table,
    TableColumn

    
} from 'element-ui'

Vue.use(Button)
Vue.use(Form)
Vue.use(formItem)
Vue.use(Input)
Vue.use(container)
Vue.use(header)
Vue.use(main)
Vue.use(link)
Vue.use(upload)
Vue.use(progress)
Vue.use(menu)
Vue.use(MenuItem)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(calendar)
Vue.use(row)
Vue.use(tabs)
Vue.use(TabPane)
Vue.use(RadioGroup)
Vue.use(RadioButton)
Vue.use(Dialog)
Vue.use(Radio)
Vue.use(select)
Vue.use(option)
Vue.use(image)
Vue.use(col)
Vue.use(card)
Vue.use(pagination)
Vue.use(aside)
Vue.use(drawer)
Vue.use(DatePicker)
Vue.use(ButtonGroup)
Vue.use(Table)
Vue.use(TableColumn)
Vue.prototype.$message = Message
